// decorators/log.decorator.ts
import { SetMetadata } from '@nestjs/common';

export interface OperationLogMeta {
  module: string; // 操作模块
  actionType: string; // 操作类型
}

export const OperationLog = (meta: OperationLogMeta) =>
  SetMetadata('operationLogMeta', meta);
